package com.xp.kettlegenerate.service;

import com.xp.kettlegenerate.entity.DataBaseMeta;
import com.baomidou.mybatisplus.extension.service.IService;
import org.pentaho.di.core.database.DatabaseMeta;
import org.pentaho.di.core.exception.KettleXMLException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xxx
 * @since 2024-06-17
 */
public interface IDataBaseMetaService extends IService<DataBaseMeta> {

    /**
     * 根据传入的数据库类型查找对应的数据库信息
     *
     * @param databaseType
     * @return
     */
    DatabaseMeta getDatabaseMeat(Integer databaseType) throws KettleXMLException;
}
